package com.linxianqin.log.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 功能描述：
 *
 * @author 林贤钦
 * @version 1.00
 * @Date 2020/12/10
 */
@Data
@TableName("sys_log")
public class SysLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value="ID",type = IdType.AUTO)
    private Long id;
    @TableField("user_Id")
    private Long userId;
    @TableField("user_name")
    private String username;
    @TableField("first_name")
    private String firstName;
    @TableField("last_name")
    private String lastName;
    @TableField("excute_time")
    private Date excuteTime;
    @TableField("module")
    private String module;
    @TableField("abstracting")
    private String abstracting;
    @TableField("business_type")
    private Integer businessType;
    @TableField("method")
    private String method;
    @TableField("requestMethod")
    private String requestMethod;
    @TableField("operUrl")
    private String operUrl;
    @TableField("operIp")
    private String operIp;
    @TableField("oper_location")
    private String operLocation;
    @TableField("oper_param")
    private String operParam;
    @TableField("json_result")
    private String jsonResult;
    @TableField("status")
    private Integer status;
    @TableField("error_msg")
    private String errorMsg;
    @TableField("remark")
    private String remark;
    @TableField("deleted")
    private boolean deleted;

}
